function openContacts()
{
    console.log('function called');
    var tabs = dijit.byId("mytab");
    var pane = new dijit.layout.ContentPane({
        title:"My Contacts", 
        loadingMessage:"<img src='assets/img/loading_gif.gif' />", 
        href:"register.jsp", 
        closable:"true", 
        onClose: function(){
            return confirm("Do you really want to Close this?");
        }
    });
tabs.addChild(pane);
tabs.selectChild(pane);
console.log('function ended');
}